package org.mentalsmash.crossroads.parsing;

public class SyntacticException extends ParsingException {

	
	private static final long serialVersionUID = -660212046433792265L;

	private final int _numRow;
	private final int _numCol;
	
	
	
	public SyntacticException() {
		_numCol = -1;
		_numRow = -1;
	}

	public SyntacticException(String arg0, Throwable arg1) {
		super(arg0, arg1);
		_numCol = -1;
		_numRow = -1;
	}

	public SyntacticException(String arg0) {
		super(arg0);
		_numCol = -1;
		_numRow = -1;
	}
	public SyntacticException(int rowPos, int colPos, String arg0, Throwable arg1) {
		super(arg0, arg1);
		_numCol = colPos;
		_numRow = rowPos;
	}

	public SyntacticException(int rowPos, int colPos, String arg0) {
		super(arg0);
		_numCol = colPos;
		_numRow = rowPos;
	}



	public int getNumRow() {
		return _numRow;
	}


	public int getNumCol() {
		return _numCol;
	}

}
